package com.bw.module_parking.repo

import com.bw.lib_common.model.BaseRepository
import com.bw.lib_http.OkHttpClientManager
import com.bw.module_parking.api.ParkingService

class ParkingRepo() : BaseRepository<ParkingService>(){
    override fun createApiServer(): ParkingService = OkHttpClientManager.retrofitInstance.create(ParkingService::class.java)

    suspend fun getParking(areaId:Int) = apiService.getParking(areaId)

}